package com.bzframework.pro.io.configuration;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Author bingzhong
 * @Date 2024/12/25 11:59
 * @Description
 */
@Setter
@Getter
@ConfigurationProperties(prefix = "file.manager.cos")
public class CosFileProperties {

    private Boolean enabled = false;

    private String bucketName;

    private String region;

    private String secretId;

    private String secretKey;

    private Boolean directAccess = false;
    /**
     * cos是否返回图片基本信息 (0 不返回, 1 返回)
     * 必须开启数据万象服务
     */
    private Integer isPicInfo = 0;

}
